JMS Interview Questions and Answers
Question: How does a typical client perform the communication?Answer: 1. Use JNDI to locate administrative objects.2. Locate a single ConnectionFactory object. 3. Locate one or more Destination objects. 4. Use the ConnectionFactory to create a JMS Connection. 5. Use the Connection to create one or more Session(s). 6. Use a Session and the Destinations to create the MessageProducers and MessageConsumers needed. 7. Perform your communication. |
Is it helpful?
Yes
No
Most helpful rated by users:
- How many messaging models do JMS provide for and what are they?
- What is JMS (Java Messaging Service)?
- How the JMS is different from RPC?
- What are the different types of messages available in the JMS API?
- What are the basic advantages of JMS?